<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'jp-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="help-block">Los campos con <span class="required">*</span> son obligatorios.</p>
        <p>Para agregar mas de un número telefónico o correo, separarlos por / </p>

	<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model,'nombre',array('class'=>'span5','maxlength'=>100)); ?>

	<?php echo $form->textFieldRow($model,'apellidoPaterno',array('class'=>'span5','maxlength'=>100)); ?>

	<?php echo $form->textFieldRow($model,'apellidoMaterno',array('class'=>'span5','maxlength'=>100)); ?>

	<?php //echo $form->textFieldRow($model,'estado_idEstado',array('class'=>'span5')); ?>
        
        <?php echo $form->textFieldRow($model,'telefono',array('class'=>'span5','maxlength'=>10)); ?>

	<?php echo $form->textFieldRow($model,'distrito',array('class'=>'span5','maxlength'=>100)); ?>
        
        <?php echo $form->textFieldRow($model,'provincia',array('class'=>'span5','maxlength'=>100)); ?>

        <?php echo $form->textFieldRow($model,'email',array('class'=>'span5','maxlength'=>100)); ?>
        
	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Crear' : 'Guardar',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
